Trait windows::Win32::Networking::ActiveDirectory::IADsUser_Impl
pub trait IADsUser_Impl: Sized + IADs_Impl {
Show 91 methods
// Required methods
fn BadLoginAddress(&self) -> Result<BSTR>;
fn BadLoginCount(&self) -> Result<i32>;
fn LastLogin(&self) -> Result<f64>;
fn LastLogoff(&self) -> Result<f64>;
fn LastFailedLogin(&self) -> Result<f64>;
fn PasswordLastChanged(&self) -> Result<f64>;
fn Description(&self) -> Result<BSTR>;
fn SetDescription(&self, bstrdescription: &BSTR) -> Result<()>;
fn Division(&self) -> Result<BSTR>;
fn SetDivision(&self, bstrdivision: &BSTR) -> Result<()>;
fn Department(&self) -> Result<BSTR>;
fn SetDepartment(&self, bstrdepartment: &BSTR) -> Result<()>;
fn EmployeeID(&self) -> Result<BSTR>;
fn SetEmployeeID(&self, bstremployeeid: &BSTR) -> Result<()>;
fn FullName(&self) -> Result<BSTR>;
fn SetFullName(&self, bstrfullname: &BSTR) -> Result<()>;
fn FirstName(&self) -> Result<BSTR>;
fn SetFirstName(&self, bstrfirstname: &BSTR) -> Result<()>;
fn LastName(&self) -> Result<BSTR>;
fn SetLastName(&self, bstrlastname: &BSTR) -> Result<()>;
fn OtherName(&self) -> Result<BSTR>;
fn SetOtherName(&self, bstrothername: &BSTR) -> Result<()>;
fn NamePrefix(&self) -> Result<BSTR>;
fn SetNamePrefix(&self, bstrnameprefix: &BSTR) -> Result<()>;
fn NameSuffix(&self) -> Result<BSTR>;
fn SetNameSuffix(&self, bstrnamesuffix: &BSTR) -> Result<()>;
fn Title(&self) -> Result<BSTR>;
fn SetTitle(&self, bstrtitle: &BSTR) -> Result<()>;
fn Manager(&self) -> Result<BSTR>;
fn SetManager(&self, bstrmanager: &BSTR) -> Result<()>;
fn TelephoneHome(&self) -> Result<VARIANT>;
fn SetTelephoneHome(&self, vtelephonehome: &VARIANT) -> Result<()>;
fn TelephoneMobile(&self) -> Result<VARIANT>;
fn SetTelephoneMobile(&self, vtelephonemobile: &VARIANT) -> Result<()>;
fn TelephoneNumber(&self) -> Result<VARIANT>;
fn SetTelephoneNumber(&self, vtelephonenumber: &VARIANT) -> Result<()>;
fn TelephonePager(&self) -> Result<VARIANT>;
fn SetTelephonePager(&self, vtelephonepager: &VARIANT) -> Result<()>;
fn FaxNumber(&self) -> Result<VARIANT>;
fn SetFaxNumber(&self, vfaxnumber: &VARIANT) -> Result<()>;
fn OfficeLocations(&self) -> Result<VARIANT>;
fn SetOfficeLocations(&self, vofficelocations: &VARIANT) -> Result<()>;
fn PostalAddresses(&self) -> Result<VARIANT>;
fn SetPostalAddresses(&self, vpostaladdresses: &VARIANT) -> Result<()>;
fn PostalCodes(&self) -> Result<VARIANT>;
fn SetPostalCodes(&self, vpostalcodes: &VARIANT) -> Result<()>;
fn SeeAlso(&self) -> Result<VARIANT>;
fn SetSeeAlso(&self, vseealso: &VARIANT) -> Result<()>;
fn AccountDisabled(&self) -> Result<VARIANT_BOOL>;
fn SetAccountDisabled(&self, faccountdisabled: VARIANT_BOOL) -> Result<()>;
fn AccountExpirationDate(&self) -> Result<f64>;
fn SetAccountExpirationDate(
&self,
daaccountexpirationdate: f64
) -> Result<()>;
fn GraceLoginsAllowed(&self) -> Result<i32>;
fn SetGraceLoginsAllowed(&self, lngraceloginsallowed: i32) -> Result<()>;
fn GraceLoginsRemaining(&self) -> Result<i32>;
fn SetGraceLoginsRemaining(&self, lngraceloginsremaining: i32) -> Result<()>;
fn IsAccountLocked(&self) -> Result<VARIANT_BOOL>;
fn SetIsAccountLocked(&self, fisaccountlocked: VARIANT_BOOL) -> Result<()>;
fn LoginHours(&self) -> Result<VARIANT>;
fn SetLoginHours(&self, vloginhours: &VARIANT) -> Result<()>;
fn LoginWorkstations(&self) -> Result<VARIANT>;
fn SetLoginWorkstations(&self, vloginworkstations: &VARIANT) -> Result<()>;
fn MaxLogins(&self) -> Result<i32>;
fn SetMaxLogins(&self, lnmaxlogins: i32) -> Result<()>;
fn MaxStorage(&self) -> Result<i32>;
fn SetMaxStorage(&self, lnmaxstorage: i32) -> Result<()>;
fn PasswordExpirationDate(&self) -> Result<f64>;
fn SetPasswordExpirationDate(
&self,
dapasswordexpirationdate: f64
) -> Result<()>;
fn PasswordMinimumLength(&self) -> Result<i32>;
fn SetPasswordMinimumLength(
&self,
lnpasswordminimumlength: i32
) -> Result<()>;
fn PasswordRequired(&self) -> Result<VARIANT_BOOL>;
fn SetPasswordRequired(&self, fpasswordrequired: VARIANT_BOOL) -> Result<()>;
fn RequireUniquePassword(&self) -> Result<VARIANT_BOOL>;
fn SetRequireUniquePassword(
&self,
frequireuniquepassword: VARIANT_BOOL
) -> Result<()>;
fn EmailAddress(&self) -> Result<BSTR>;
fn SetEmailAddress(&self, bstremailaddress: &BSTR) -> Result<()>;
fn HomeDirectory(&self) -> Result<BSTR>;
fn SetHomeDirectory(&self, bstrhomedirectory: &BSTR) -> Result<()>;
fn Languages(&self) -> Result<VARIANT>;
fn SetLanguages(&self, vlanguages: &VARIANT) -> Result<()>;
fn Profile(&self) -> Result<BSTR>;
fn SetProfile(&self, bstrprofile: &BSTR) -> Result<()>;
fn LoginScript(&self) -> Result<BSTR>;
fn SetLoginScript(&self, bstrloginscript: &BSTR) -> Result<()>;
fn Picture(&self) -> Result<VARIANT>;
fn SetPicture(&self, vpicture: &VARIANT) -> Result<()>;
fn HomePage(&self) -> Result<BSTR>;
fn SetHomePage(&self, bstrhomepage: &BSTR) -> Result<()>;
fn Groups(&self) -> Result<IADsMembers>;
fn SetPassword(&self, newpassword: &BSTR) -> Result<()>;
fn ChangePassword(
&self,
bstroldpassword: &BSTR,
bstrnewpassword: &BSTR
) -> Result<()>;
}
Required Methods§
fn BadLoginAddress(&self) -> Result<BSTR>
fn BadLoginCount(&self) -> Result<i32>
fn LastLogin(&self) -> Result<f64>
fn LastLogoff(&self) -> Result<f64>
fn LastFailedLogin(&self) -> Result<f64>
fn PasswordLastChanged(&self) -> Result<f64>
fn Description(&self) -> Result<BSTR>
fn SetDescription(&self, bstrdescription: &BSTR) -> Result<()>
fn Division(&self) -> Result<BSTR>
fn SetDivision(&self, bstrdivision: &BSTR) -> Result<()>
fn Department(&self) -> Result<BSTR>
fn SetDepartment(&self, bstrdepartment: &BSTR) -> Result<()>
fn EmployeeID(&self) -> Result<BSTR>
fn SetEmployeeID(&self, bstremployeeid: &BSTR) -> Result<()>
fn FullName(&self) -> Result<BSTR>
fn SetFullName(&self, bstrfullname: &BSTR) -> Result<()>
fn FirstName(&self) -> Result<BSTR>
fn SetFirstName(&self, bstrfirstname: &BSTR) -> Result<()>
fn LastName(&self) -> Result<BSTR>
fn SetLastName(&self, bstrlastname: &BSTR) -> Result<()>
fn OtherName(&self) -> Result<BSTR>
fn SetOtherName(&self, bstrothername: &BSTR) -> Result<()>
fn NamePrefix(&self) -> Result<BSTR>
fn SetNamePrefix(&self, bstrnameprefix: &BSTR) -> Result<()>
fn NameSuffix(&self) -> Result<BSTR>
fn SetNameSuffix(&self, bstrnamesuffix: &BSTR) -> Result<()>
fn Title(&self) -> Result<BSTR>
fn SetTitle(&self, bstrtitle: &BSTR) -> Result<()>
fn Manager(&self) -> Result<BSTR>
fn SetManager(&self, bstrmanager: &BSTR) -> Result<()>
fn TelephoneHome(&self) -> Result<VARIANT>
fn SetTelephoneHome(&self, vtelephonehome: &VARIANT) -> Result<()>
fn TelephoneMobile(&self) -> Result<VARIANT>
fn SetTelephoneMobile(&self, vtelephonemobile: &VARIANT) -> Result<()>
fn TelephoneNumber(&self) -> Result<VARIANT>
fn SetTelephoneNumber(&self, vtelephonenumber: &VARIANT) -> Result<()>
fn TelephonePager(&self) -> Result<VARIANT>
fn SetTelephonePager(&self, vtelephonepager: &VARIANT) -> Result<()>
fn FaxNumber(&self) -> Result<VARIANT>
fn SetFaxNumber(&self, vfaxnumber: &VARIANT) -> Result<()>
fn OfficeLocations(&self) -> Result<VARIANT>
fn SetOfficeLocations(&self, vofficelocations: &VARIANT) -> Result<()>
fn PostalAddresses(&self) -> Result<VARIANT>
fn SetPostalAddresses(&self, vpostaladdresses: &VARIANT) -> Result<()>
fn PostalCodes(&self) -> Result<VARIANT>
fn SetPostalCodes(&self, vpostalcodes: &VARIANT) -> Result<()>
fn SeeAlso(&self) -> Result<VARIANT>
fn SetSeeAlso(&self, vseealso: &VARIANT) -> Result<()>
fn AccountDisabled(&self) -> Result<VARIANT_BOOL>
fn SetAccountDisabled(&self, faccountdisabled: VARIANT_BOOL) -> Result<()>
fn AccountExpirationDate(&self) -> Result<f64>
fn SetAccountExpirationDate(&self, daaccountexpirationdate: f64) -> Result<()>
fn GraceLoginsAllowed(&self) -> Result<i32>
fn SetGraceLoginsAllowed(&self, lngraceloginsallowed: i32) -> Result<()>
fn GraceLoginsRemaining(&self) -> Result<i32>
fn SetGraceLoginsRemaining(&self, lngraceloginsremaining: i32) -> Result<()>
fn IsAccountLocked(&self) -> Result<VARIANT_BOOL>
fn SetIsAccountLocked(&self, fisaccountlocked: VARIANT_BOOL) -> Result<()>
fn LoginHours(&self) -> Result<VARIANT>
fn SetLoginHours(&self, vloginhours: &VARIANT) -> Result<()>
fn LoginWorkstations(&self) -> Result<VARIANT>
fn SetLoginWorkstations(&self, vloginworkstations: &VARIANT) -> Result<()>
fn MaxLogins(&self) -> Result<i32>
fn SetMaxLogins(&self, lnmaxlogins: i32) -> Result<()>
fn MaxStorage(&self) -> Result<i32>
fn SetMaxStorage(&self, lnmaxstorage: i32) -> Result<()>
fn PasswordExpirationDate(&self) -> Result<f64>
fn SetPasswordExpirationDate(&self, dapasswordexpirationdate: f64) -> Result<()>
fn PasswordMinimumLength(&self) -> Result<i32>
fn SetPasswordMinimumLength(&self, lnpasswordminimumlength: i32) -> Result<()>
fn PasswordRequired(&self) -> Result<VARIANT_BOOL>
fn SetPasswordRequired(&self, fpasswordrequired: VARIANT_BOOL) -> Result<()>
fn RequireUniquePassword(&self) -> Result<VARIANT_BOOL>
fn SetRequireUniquePassword( &self, frequireuniquepassword: VARIANT_BOOL ) -> Result<()>
fn EmailAddress(&self) -> Result<BSTR>
fn SetEmailAddress(&self, bstremailaddress: &BSTR) -> Result<()>
fn HomeDirectory(&self) -> Result<BSTR>
fn SetHomeDirectory(&self, bstrhomedirectory: &BSTR) -> Result<()>
fn Languages(&self) -> Result<VARIANT>
fn SetLanguages(&self, vlanguages: &VARIANT) -> Result<()>
fn Profile(&self) -> Result<BSTR>
fn SetProfile(&self, bstrprofile: &BSTR) -> Result<()>
fn LoginScript(&self) -> Result<BSTR>
fn SetLoginScript(&self, bstrloginscript: &BSTR) -> Result<()>
fn Picture(&self) -> Result<VARIANT>
fn SetPicture(&self, vpicture: &VARIANT) -> Result<()>
fn HomePage(&self) -> Result<BSTR>
fn SetHomePage(&self, bstrhomepage: &BSTR) -> Result<()>
fn Groups(&self) -> Result<IADsMembers>
fn SetPassword(&self, newpassword: &BSTR) -> Result<()>
fn ChangePassword( &self, bstroldpassword: &BSTR, bstrnewpassword: &BSTR ) -> Result<()>
Object Safety§
This trait is not object safe.