SPIisWebServiceApplicationPool.GetSecurityIdentifier Method
Gets the identity of the application pool.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Function GetSecurityIdentifier As SecurityIdentifier
'Usage
Dim instance As SPIisWebServiceApplicationPool
Dim returnValue As SecurityIdentifier
returnValue = instance.GetSecurityIdentifier()
public SecurityIdentifier GetSecurityIdentifier()
Return Value
Type: System.Security.Principal.SecurityIdentifier
A SecurityIdentifier object.
Exceptions
Exception | Condition |
---|---|
NotSupportedException | The identity type specified by IdentityType is not supported. |
See Also
Reference
SPIisWebServiceApplicationPool Class