GitPermissionsUtil.GetRepoIdFromToken(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get repo Guid from a canonicalized token.
<param name="securityToken"> a Git Repositories Security Token that is already canonicalized by CalculateSecurable(String, Guid, String) in the form: repoV2/f7aa0cd2-5bb1-4fc7-87fc-3ca29a266aad/622eb04c-9538-4e64-bb8e-4287eb20436d/refs/heads/6d0061007300740065007200/</param>public static Nullable<Guid> GetRepoIdFromToken(string securityToken);
static member GetRepoIdFromToken : string -> Nullable<Guid>
Public Shared Function GetRepoIdFromToken (securityToken As String) As Nullable(Of Guid)
Parameters
- securityToken
- String