IFederationServer.BeginRequestSecurityTokenWithSids Method (String, String, String[], Byte[], String, AsyncCallback, Object)
Begins an asynchronous request for a security token when given security identifiers.
Namespace: System.Web.Security.SingleSignOn
Assembly: System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)
Syntax
IAsyncResult BeginRequestSecurityTokenWithSids(
string userSamName,
string usersid,
string[] groupsids,
byte[] cookie,
string targetRealmName,
AsyncCallback callback,
object asyncState
)
IAsyncResult^ BeginRequestSecurityTokenWithSids(
String^ userSamName,
String^ usersid,
array<String^>^ groupsids,
array<unsigned char>^ cookie,
String^ targetRealmName,
AsyncCallback^ callback,
Object^ asyncState
)
abstract BeginRequestSecurityTokenWithSids :
userSamName:string *
usersid:string *
groupsids:string[] *
cookie:byte[] *
targetRealmName:string *
callback:AsyncCallback *
asyncState:Object -> IAsyncResult
Function BeginRequestSecurityTokenWithSids (
userSamName As String,
usersid As String,
groupsids As String(),
cookie As Byte(),
targetRealmName As String,
callback As AsyncCallback,
asyncState As Object
) As IAsyncResult
Parameters
userSamName
Type: System.StringThe user's SAM account name.
usersid
Type: System.StringThe user security identifier (SID).
groupsids
Type: System.String[]The group security identifiers.
cookie
Type: System.Byte[]The cookie obtained from the client.
targetRealmName
Type: System.StringThe name of the target realm for which the security token is being requested. This may be either a federation partner or a resource web server.
callback
Type: System.AsyncCallbackAn AsyncCallback that represents the callback method.
asyncState
Type: System.ObjectAn object that can be used to access state information of the asynchronous operation.
Return Value
Type: System.IAsyncResult
Retruns a IAsyncResult that specifies the status of this asynchronous operation.
See Also
IFederationServer Interface
System.Web.Security.SingleSignOn Namespace
Return to top