Get privilege elevation assignments that are explicitly granted

  1. If the "Principal" user has no permission to run the command, nothing is returned.
    2. Usually only one entry is returned. However, it is possible that multiple entries may be returned. One example is that the user may have both a permanent and temporary grants, or multiple
    temporary grants. The caller has to figure out what to do with multiple results.
    3. If new columns are added in future releases, they will be returned as new optional properties.
    4. Note that this API does not take into account of inheritance. It only returns the assignments that are explicitly assigned to the requested user/principal and scope. Use ListAssignments
    to get all the effective assignments, including ones from inheritance.
Language