Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IBitsTokenOptions::GetHelperTokenSid method

Returns the SID of the helper token if one is set.

Note  This method does not return the token.

Syntax


HRESULT GetHelperTokenSid(
  [out]  LPWSTR *pSid
);

Parameters

pSid [out]

Returns the SID that is retrieved from the TokenInformation parameter of the GetTokenInformation function. If no SID is retrieved, this parameter is set to NULL.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 7

Minimum supported server

Windows Server 2008 R2

Redistributable

Windows Management Framework on Windows Vista with SP1, Windows Vista with SP2, and Windows Server 2008 with SP2

Header

Bits4_0.h

IDL

Bits4_0.idl

IID

IID_IBitsTokenOptions is defined as 9a2584c3-f7d2-457a-9a5e-22b67bffc7d2

See also

IBitsTokenOptions

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.