windows::Win32::Security::Authentication::Identity::Provider

Trait IIdentityProvider_Impl

pub trait IIdentityProvider_Impl: IUnknownImpl {
    // Required methods
    fn GetIdentityEnum(
        &self,
        eidentitytype: IDENTITY_TYPE,
        pfilterkey: *const PROPERTYKEY,
        pfilterpropvarvalue: *const PROPVARIANT,
    ) -> Result<IEnumUnknown>;
    fn Create(
        &self,
        lpszusername: &PCWSTR,
        pppropertystore: OutRef<'_, IPropertyStore>,
        pkeywordstoadd: *const PROPVARIANT,
    ) -> Result<()>;
    fn Import(&self, ppropertystore: Ref<'_, IPropertyStore>) -> Result<()>;
    fn Delete(
        &self,
        lpszuniqueid: &PCWSTR,
        pkeywordstodelete: *const PROPVARIANT,
    ) -> Result<()>;
    fn FindByUniqueID(&self, lpszuniqueid: &PCWSTR) -> Result<IPropertyStore>;
    fn GetProviderPropertyStore(&self) -> Result<IPropertyStore>;
    fn Advise(
        &self,
        pidentityadvise: Ref<'_, IIdentityAdvise>,
        dwidentityupdateevents: &IdentityUpdateEvent,
    ) -> Result<u32>;
    fn UnAdvise(&self, dwcookie: u32) -> Result<()>;
}

Required Methods§

fn GetIdentityEnum( &self, eidentitytype: IDENTITY_TYPE, pfilterkey: *const PROPERTYKEY, pfilterpropvarvalue: *const PROPVARIANT, ) -> Result<IEnumUnknown>

fn Create( &self, lpszusername: &PCWSTR, pppropertystore: OutRef<'_, IPropertyStore>, pkeywordstoadd: *const PROPVARIANT, ) -> Result<()>

fn Import(&self, ppropertystore: Ref<'_, IPropertyStore>) -> Result<()>

fn Delete( &self, lpszuniqueid: &PCWSTR, pkeywordstodelete: *const PROPVARIANT, ) -> Result<()>

fn FindByUniqueID(&self, lpszuniqueid: &PCWSTR) -> Result<IPropertyStore>

fn GetProviderPropertyStore(&self) -> Result<IPropertyStore>

fn Advise( &self, pidentityadvise: Ref<'_, IIdentityAdvise>, dwidentityupdateevents: &IdentityUpdateEvent, ) -> Result<u32>

fn UnAdvise(&self, dwcookie: u32) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§