Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method is used to decode the "base64url" encoded string (see http://tools.ietf.org/html/rfc4648) back to a normal GUID.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function GetGuidFromShortGuid ( _
shortGuid As String _
) As Guid
'Usage
Dim shortGuid As String
Dim returnValue As Guid
returnValue = SPUtility.GetGuidFromShortGuid(shortGuid)
public static Guid GetGuidFromShortGuid(
string shortGuid
)
Parameters
- shortGuid
Type: System.String
Return value
Type: System.Guid
the Guid value
Remarks
The bases64url format is basically base 64 except that it: 1) replaces '+' with '-' 2) replaces '/' with '_' 3) trims '=' padding at the end