IAppxManifestDocument2.MapCapabilitySid Method
Produces a capability identifier and a localized name from the specified capability security identifier (SID), such as "S-1-15-3-1" or "S-1-15-3-BFA794E4-F964-4FDB-90F6-51056BFE4B44".
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)
Syntax
'Declaration
Sub MapCapabilitySid ( _
sid As String, _
<OutAttribute> ByRef capabilityId As String, _
<OutAttribute> ByRef localizedCapabilityName As String _
)
void MapCapabilitySid(
string sid,
out string capabilityId,
out string localizedCapabilityName
)
void MapCapabilitySid(
[InAttribute] String^ sid,
[OutAttribute] String^% capabilityId,
[OutAttribute] String^% localizedCapabilityName
)
abstract MapCapabilitySid :
sid:string *
capabilityId:string byref *
localizedCapabilityName:string byref -> unit
function MapCapabilitySid(
sid : String,
capabilityId : String,
localizedCapabilityName : String
)
Parameters
sid
Type: String[in] The capability security identifier.
capabilityId
Type: String%[out] The capability identifier.
localizedCapabilityName
Type: String%[out] The localized capability name.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.