Compartilhar via


IAppxManifestDocument.MapCapabilitySid(String, String, String) Method

Definition

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".

public:
 void MapCapabilitySid(System::String ^ sid, [Runtime::InteropServices::Out] System::String ^ % capabilityId, [Runtime::InteropServices::Out] System::String ^ % localizedCapabilityName);
void MapCapabilitySid(std::wstring const & sid, [Runtime::InteropServices::Out] std::wstring const & & capabilityId, [Runtime::InteropServices::Out] std::wstring const & & localizedCapabilityName);
public void MapCapabilitySid (string sid, out string capabilityId, out string localizedCapabilityName);
abstract member MapCapabilitySid : string * string * string -> unit
Public Sub MapCapabilitySid (sid As String, ByRef capabilityId As String, ByRef localizedCapabilityName As String)

Parameters

sid
String

[in] The capability security identifier.

capabilityId
String

[out] The capability identifier.

localizedCapabilityName
String

[out] The localized capability name.

Applies to