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

SPUtility.GetShortGuid method

SharePoint 2013

This method is used to encode a shorter "Guid" string using bases64url format (see http://tools.ietf.org/html/rfc4648).

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public static string GetShortGuid(
	Guid value


Type: System.Guid

Return value

Type: System.String
an encoded guid

The bases64url format is basically base 64 except that it: 1) replaces '+' with '-' 2) replaces '/' with '_' 3) trims '=' padding at the end

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

Community Additions

© 2014 Microsoft. All rights reserved.