NativeMethods.GetNamedSecurityInfo, méthode
Ce type a un attribut SecurityCriticalAttribute, qui le limite à un usage interne par la bibliothèque de classes .NET Framework pour Silverlight. Un code d'application qui utilise un membre de ce type lève une exception MethodAccessException.
Espace de noms : Microsoft.TeamFoundation.Common.Internal
Assembly : Microsoft.TeamFoundation.Common (dans Microsoft.TeamFoundation.Common.dll)
Syntaxe
'Déclaration
Public Shared Function GetNamedSecurityInfo ( _
objectName As String, _
objectType As ResourceType, _
securityInfo As SecurityInfos, _
<OutAttribute> ByRef sidOwner As IntPtr, _
<OutAttribute> ByRef sidGroup As IntPtr, _
<OutAttribute> ByRef dacl As IntPtr, _
<OutAttribute> ByRef sacl As IntPtr, _
<OutAttribute> ByRef securityDescriptor As IntPtr _
) As UInteger
public static uint GetNamedSecurityInfo(
string objectName,
ResourceType objectType,
SecurityInfos securityInfo,
out IntPtr sidOwner,
out IntPtr sidGroup,
out IntPtr dacl,
out IntPtr sacl,
out IntPtr securityDescriptor
)
Paramètres
- objectName
Type : System.String
- objectType
Type : System.Security.AccessControl.ResourceType
- securityInfo
Type : System.Security.AccessControl.SecurityInfos
- sidOwner
Type : System.IntPtr%
- sidGroup
Type : System.IntPtr%
- dacl
Type : System.IntPtr%
- sacl
Type : System.IntPtr%
- securityDescriptor
Type : System.IntPtr%
Valeur de retour
Type : System.UInt32