1 write to _owningPrincipal
System.DirectoryServices.AccountManagement (1)
System\DirectoryServices\AccountManagement\AccountInfo.cs (1)
278
_owningPrincipal
= principal;
41 references to _owningPrincipal
System.DirectoryServices.AccountManagement (41)
System\DirectoryServices\AccountManagement\AccountInfo.cs (41)
29
return
_owningPrincipal
.HandleGet<Nullable<DateTime>>(ref _accountLockoutTime, PropertyNames.AcctInfoAcctLockoutTime, ref _accountLockoutTimeLoaded);
41
return
_owningPrincipal
.HandleGet<Nullable<DateTime>>(ref _lastLogon, PropertyNames.AcctInfoLastLogon, ref _lastLogonLoaded);
53
if (!
_owningPrincipal
.GetStoreCtxToUse().IsValidProperty(
_owningPrincipal
, PropertyNames.AcctInfoPermittedWorkstations))
56
return
_owningPrincipal
.HandleGet<PrincipalValueCollection<string>>(ref _permittedWorkstations, PropertyNames.AcctInfoPermittedWorkstations, ref _permittedWorkstationsLoaded);
74
return
_owningPrincipal
.HandleGet<byte[]>(ref _permittedLogonTimes, PropertyNames.AcctInfoPermittedLogonTimes, ref _permittedLogonTimesLoaded);
85
if (!
_owningPrincipal
.GetStoreCtxToUse().IsValidProperty(
_owningPrincipal
, PropertyNames.AcctInfoPermittedLogonTimes))
108
return
_owningPrincipal
.HandleGet<Nullable<DateTime>>(ref _expirationDate, PropertyNames.AcctInfoExpirationDate, ref _expirationDateChanged);
113
if (!
_owningPrincipal
.GetStoreCtxToUse().IsValidProperty(
_owningPrincipal
, PropertyNames.AcctInfoExpirationDate))
116
_owningPrincipal
.HandleSet<Nullable<DateTime>>(ref _expirationDate, value, ref _expirationDateChanged,
129
return
_owningPrincipal
.HandleGet<bool>(ref _smartcardLogonRequired, PropertyNames.AcctInfoSmartcardRequired, ref _smartcardLogonRequiredChanged);
134
if (!
_owningPrincipal
.GetStoreCtxToUse().IsValidProperty(
_owningPrincipal
, PropertyNames.AcctInfoSmartcardRequired))
137
_owningPrincipal
.HandleSet<bool>(ref _smartcardLogonRequired, value, ref _smartcardLogonRequiredChanged,
150
return
_owningPrincipal
.HandleGet<bool>(ref _delegationPermitted, PropertyNames.AcctInfoDelegationPermitted, ref _delegationPermittedChanged);
155
if (!
_owningPrincipal
.GetStoreCtxToUse().IsValidProperty(
_owningPrincipal
, PropertyNames.AcctInfoDelegationPermitted))
158
_owningPrincipal
.HandleSet<bool>(ref _delegationPermitted, value, ref _delegationPermittedChanged,
171
return
_owningPrincipal
.HandleGet<int>(ref _badLogonCount, PropertyNames.AcctInfoBadLogonCount, ref _badLogonCountChanged);
183
return
_owningPrincipal
.HandleGet<string>(ref _homeDirectory, PropertyNames.AcctInfoHomeDirectory, ref _homeDirectoryChanged);
188
if (!
_owningPrincipal
.GetStoreCtxToUse().IsValidProperty(
_owningPrincipal
, PropertyNames.AcctInfoHomeDirectory))
191
_owningPrincipal
.HandleSet<string>(ref _homeDirectory, value, ref _homeDirectoryChanged,
204
return
_owningPrincipal
.HandleGet<string>(ref _homeDrive, PropertyNames.AcctInfoHomeDrive, ref _homeDriveChanged);
209
if (!
_owningPrincipal
.GetStoreCtxToUse().IsValidProperty(
_owningPrincipal
, PropertyNames.AcctInfoHomeDrive))
212
_owningPrincipal
.HandleSet<string>(ref _homeDrive, value, ref _homeDriveChanged,
225
return
_owningPrincipal
.HandleGet<string>(ref _scriptPath, PropertyNames.AcctInfoScriptPath, ref _scriptPathChanged);
230
if (!
_owningPrincipal
.GetStoreCtxToUse().IsValidProperty(
_owningPrincipal
, PropertyNames.AcctInfoScriptPath))
233
_owningPrincipal
.HandleSet<string>(ref _scriptPath, value, ref _scriptPathChanged,
243
if (!
_owningPrincipal
.unpersisted)
247
Debug.Assert(
_owningPrincipal
.Context != null);
249
return
_owningPrincipal
.GetStoreCtxToUse().IsLockedOut(
_owningPrincipal
);
260
if (!
_owningPrincipal
.unpersisted)
264
Debug.Assert(
_owningPrincipal
.Context != null);
266
_owningPrincipal
.GetStoreCtxToUse().UnlockAccount(
_owningPrincipal
);