다음을 통해 공유


SPManagedAccount class

Manages the password of an account.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPManagedAccount

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<GuidAttribute("E34487AF-2A20-4B89-BEF6-DEA0B0B2522C")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SPManagedAccount _
    Inherits SPPersistedObject
'Usage
Dim instance As SPManagedAccount
[GuidAttribute("E34487AF-2A20-4B89-BEF6-DEA0B0B2522C")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPManagedAccount : SPPersistedObject

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SPManagedAccount members

Microsoft.SharePoint.Administration namespace